/**
 * Author:runlin。tang.
 * Creation Time: 2016/6/29
 * Description:
 *              管理渲染页面
 */
define(['jquery','artTemplate' ,  '../../../common/js/lib/text!../../../tpl/footer.tpl' , 'underscore','backbone','../m/admin'],
    function ($ , artTemplate ,footerTpl ,_,Backbone,admin) {
    function indexV(){
        var footer = artTemplate.compile(footerTpl)({
              type:1
            }),
            html = '';
        html +='<div class="state-admin abnormal">系统异常，请拨打<a href="tel:4008077067" style="color:#fff"> 4008 077 067</a></div>';
        html +='<div class="self-check"><i>上次检查时间：</i><a href="javascript:;">系统自检</a></div>';
        html +='<ul class="device-txt one-device">';
        html +='<li class="ok-mes"><i>获取门店信息</i><span>未知<img style="margin-top:0.2rem;" src="images/router/loading.gif"></span></li>';
        html +='<li class="ok-mes"><i>获取门店欢迎页</i><span>未知<img style="margin-top:0.2rem;" src="images/router/loading.gif"></span></li>';
        html +='<li class="ok-mes"><i>获取门店App</i><span>未知<img style="margin-top:0.2rem;" src="images/router/loading.gif"></span></li>';
        html +='<li class="ok-mes"><i>获取门店CGI</i><span>未知<img style="margin-top:0.2rem;" src="images/router/loading.gif"></span></li>';
        html +='</ul>';
        html +='<ul class="device-txt two-device">';
        html +='<li class="ok-mes"><i>固件版本</i><span>未知<img style="margin-top:0.2rem;" src="images/router/loading.gif"></span></li>';
        html +='<li class="ok-mes"><i>TF卡状态</i><span>未知<img style="margin-top:0.2rem;" src="images/router/loading.gif"></span></li>';
        html +='</ul>';
        $('.webApp-content').html(html+footer);
        admin();
    }
    return indexV;
});